package com.rockcent.service;

import com.rockcent.common.common.JsonResult;
import com.rockcent.mall.lib.domain.SysMessage;
import com.rockcent.mall.lib.dto.SysMessageDto;
import org.jboss.logging.annotations.Param;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.Field;
import retrofit2.http.Header;
import retrofit2.http.POST;

/**
 * Created by zhangjh on 2017/5/24.
 */
public interface SysMessageApiService {
    /**
     * 消息推送接口
     *
     * @param message
     * @return
     */
    @POST("/api/local/pushmsg-to-server")
    Call<JsonResult> pushMsg(@Body SysMessageDto  message);


}
